import 'package:json_annotation/json_annotation.dart';
import 'package:sonora/models/sj_config_item.dart';

part 'sj_config_data.g.dart';

@JsonSerializable()
class SjConfigData {
  final String? rvsta;
  final String? ver;
  final List<SjConfigItem>? items;
  final dynamic? riskControlInfoConfig;

  SjConfigData({this.rvsta, this.ver, this.items, this.riskControlInfoConfig});

  factory SjConfigData.fromJson(Map<String, dynamic> json) => _$SjConfigDataFromJson(json);
  Map<String, dynamic> toJson() => _$SjConfigDataToJson(this);
}